<template>
	<view>

	</view>
</template>

<script>
	import {
		paymentOrderList,
		deviceList
	} from '@/common/api.config.js'
	import dayjs from 'dayjs'
	
	export default {
		data() {
			return {

			}
		},
		onLoad() {
		},
		methods: {
			async getDeviceList() {
				const {
					data,
					code
				} = await deviceList()
				console.log(data, code,111);
			},
			async getList() { 
				const {
					data,
					code
				} = await paymentOrderList({
					page: 1,
					page_size: 20,
					start_at: dayjs().format('YYYY-MM-DD') + ' 00:00:00',
					end_at: dayjs().format('YYYY-MM-DD') + ' 23:59:59',
				})
				console.log(data, code);
			}
		}
	}
</script>

<style>

</style>
